projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c63dd5
)
e1000: remove unnecessary clearing of SWSM.SWSM_SMBI
author
Tim Harvey
<
[email protected]
>
Tue, 19 May 2015 17:01:20 +0000
(10:01 -0700)
committer
Joe Hershberger
<
[email protected]
>
Tue, 11 Aug 2015 18:17:07 +0000
(13:17 -0500)
remove unnecessary clearing of SWSM.SWSM_SMBI when obtaining the SW
semaphore. This was introduced in
951860634fdb557bbb58e0f99215391bc0c29779
while adding i210 support and should be now resolved by releasing the
semaphore when no longer needed.
Cc: Marcel Ziswiler <
[email protected]
>
Cc: Marek Vasut <
[email protected]
>
Cc: Aneesh Bansal <
[email protected]
>
Cc: Naveen Burmi <
[email protected]
>
Cc: Po Liu <
[email protected]
>
Cc: Bin Meng <
[email protected]
>
Cc: Alison Wang <
[email protected]
>
Cc: Reinhard Arlt <
[email protected]
>
Cc: Shengzhou Liu <
[email protected]
>
Cc: York Sun <
[email protected]
>
Signed-off-by: Tim Harvey <
[email protected]
>
Tested-by: Bin Meng <
[email protected]
>
Tested-by: Marcel Ziswiler <
[email protected]
>
drivers/net/e1000.c
patch
|
blob
|
history
diff --git
a/drivers/net/e1000.c
b/drivers/net/e1000.c
index 739d24b28012864106e61b2da8d138b8a304595c..ecd1a52e476add55925dd92f6b311748d6f07f86 100644
(file)
--- a/
drivers/net/e1000.c
+++ b/
drivers/net/e1000.c
@@
-996,10
+996,6
@@
e1000_get_software_semaphore(struct e1000_hw *hw)
DEBUGFUNC();
- swsm = E1000_READ_REG(hw, SWSM);
- swsm &= ~E1000_SWSM_SMBI;
- E1000_WRITE_REG(hw, SWSM, swsm);
-
if (hw->mac_type != e1000_80003es2lan)
return E1000_SUCCESS;